package com.wunong.smart.commission.client.service;

import com.wunong.smart.commission.client.dto.CommissionDTO;
import com.wunong.smart.commission.client.query.CommissionQueryDTO;
import com.wunong.smart.domain.platform.rpc.Result;

import java.util.Collection;
import java.util.List;

/**
 * 代办服务
 *
 * @author create by zealot.zt
 */
public interface CommissionReadService {

    Result<CommissionDTO> getById(Long id);

    Result<List<CommissionDTO>> queryByIds(Collection<Long> ids);

    Result<CommissionDTO> getById(Long userId, Long id);

    Result<List<CommissionDTO>> queryByBiz(String bizId, Integer bizType, Integer commissionType);

    Result<List<CommissionDTO>> query(CommissionQueryDTO query);

}
